package com.tiancheng.trade.settlement.mapper.settlement;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tiancheng.trade.settlement.exception.BusinessException;
import com.tiancheng.trade.settlement.mapper.TYBaseMapper;
import com.tiancheng.trade.settlement.vo.settlement.admin.SettlementBillDataQueryVO;
import com.tiancheng.trade.settlement.vo.settlement.admin.res.SettlementBillDataResVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 清分待对账
 */
@Repository
public interface SettlementWaitBillQueryMapper extends TYBaseMapper<SettlementBillDataResVO> {
    /**
     * 清分待对账分页查询
     *
     * @param page
     * @return
     */
    IPage<SettlementBillDataResVO> querySettlementWaitBillList(Page<?> page, @Param("vo") SettlementBillDataQueryVO vo) throws BusinessException;

    /**
     * 清分异常批量查询
     *
     * @param page
     * @param vo
     * @return
     * @throws BusinessException
     */
    IPage<SettlementBillDataResVO> queryBatchBillList(Page<?> page, @Param("vo") SettlementBillDataQueryVO vo) throws BusinessException;

}
